/***************************************
Syntax to get estimates for Table OB6
****************************************/

clear
cd "C:\Users\Joshua\OneDrive\Documents\Work - Finished\BJPS - Comp Explanations\Dataverse"
use "exp1_cleaned.dta"
set more off

***All Respondents
foreach var in agree1 motives_rep_factor motives_political_factor {
	mean `var', over(cond_info)
}

***Co-Partisans
foreach var in agree1 motives_rep_factor motives_political_factor {
	mean `var' if cond_party1 == 1, over(cond_info)
}

***Opposing Partisans

foreach var in agree1 motives_rep_factor motives_political_factor {
	mean `var' if cond_party1 == 2, over(cond_info)
}
